------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\jar68\OneDrive\Ongoing Work\Party Cues and Suspicion Paper\Final Datavserse\Figure3\figure3_tableob3.log
  log type:  text
 opened on:  23 Jun 2021, 11:42:23

. use "figure3_data.dta"

. set more off

. 
. 
. /****Some Initial Cleaning*****/
. label var treat_5 "Treatment Condition"

. label var support01 "Policy Support"

. label var stereo "Policy Stereotypicality"

. encode pid_2, gen(pid)

. 
. /****Models*****/
. eststo clear

. eststo: regress support01 i.treat i.stereo 

      Source |       SS           df       MS      Number of obs   =     2,458
-------------+----------------------------------   F(5, 2452)      =     18.06
       Model |  7.68565755         5  1.53713151   Prob > F        =    0.0000
    Residual |  208.675303     2,452   .08510412   R-squared       =    0.0355
-------------+----------------------------------   Adj R-squared   =    0.0336
       Total |   216.36096     2,457  .088058999   Root MSE        =    .29173

----------------------------------------------------------------------------------
       support01 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
         treat_5 |
      Party Cue  |   .0960492   .0185643     5.17   0.000     .0596458    .1324525
Interest Groups  |    .049331   .0187262     2.63   0.008     .0126102    .0860518
      Companies  |    .017859   .0185435     0.96   0.336    -.0185036    .0542216
   Labor Unions  |   .0319099   .0185627     1.72   0.086    -.0044902      .06831
                 |
          stereo |
  Stereotypical  |   .0914887   .0117725     7.77   0.000     .0684037    .1145737
           _cons |   .4310219   .0143921    29.95   0.000     .4027999    .4592438
----------------------------------------------------------------------------------
(est1 stored)

. eststo: regress support01 i.treat i.stereo if pid == 1

      Source |       SS           df       MS      Number of obs   =     1,376
-------------+----------------------------------   F(5, 1370)      =      7.90
       Model |  3.05866999         5  .611733998   Prob > F        =    0.0000
    Residual |  106.042195     1,370  .077403062   R-squared       =    0.0280
-------------+----------------------------------   Adj R-squared   =    0.0245
       Total |  109.100865     1,375  .079346084   Root MSE        =    .27821

----------------------------------------------------------------------------------
       support01 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
         treat_5 |
      Party Cue  |   .1186107   .0236201     5.02   0.000     .0722752    .1649463
Interest Groups  |   .0613554   .0238377     2.57   0.010     .0145931    .1081177
      Companies  |   .0742589   .0237277     3.13   0.002     .0277123    .1208055
   Labor Unions  |   .0660518   .0237054     2.79   0.005      .019549    .1125547
                 |
          stereo |
  Stereotypical  |   .0557604   .0150037     3.72   0.000     .0263277    .0851932
           _cons |   .4466476   .0183007    24.41   0.000     .4107472     .482548
----------------------------------------------------------------------------------
(est2 stored)

. eststo: regress support01 i.treat i.stereo if pid == 2

      Source |       SS           df       MS      Number of obs   =     1,082
-------------+----------------------------------   F(5, 1076)      =     14.26
       Model |  6.55610064         5  1.31122013   Prob > F        =    0.0000
    Residual |  98.9361452     1,076   .09194809   R-squared       =    0.0621
-------------+----------------------------------   Adj R-squared   =    0.0578
       Total |  105.492246     1,081  .097587646   Root MSE        =    .30323

----------------------------------------------------------------------------------
       support01 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
         treat_5 |
      Party Cue  |   .0685709   .0291591     2.35   0.019     .0113558     .125786
Interest Groups  |     .03633   .0293994     1.24   0.217    -.0213567    .0940167
      Companies  |  -.0498893   .0289189    -1.73   0.085    -.1066332    .0068546
   Labor Unions  |  -.0086988    .029022    -0.30   0.764    -.0656449    .0482474
                 |
          stereo |
  Stereotypical  |   .1340423   .0184604     7.26   0.000     .0978199    .1702647
           _cons |   .4114095   .0226215    18.19   0.000     .3670223    .4557967
----------------------------------------------------------------------------------
(est3 stored)

. 
. /*****Table*****/
. esttab using "figure3_table.rtf",  replace ///
>         onecell label nobaselevels b(2) se star(* 0.05 ** 0.01 *** 0.001) ///
>         mtitles("All Partisans" "Democrats" "Republicans") ///
>         title("{\b Table OB3:} Figure 3 Analyses") 
(output written to figure3_table.rtf)

. 
. 
. log close
      name:  <unnamed>
       log:  C:\Users\jar68\OneDrive\Ongoing Work\Party Cues and Suspicion Paper\Final Datavserse\Figure3\figure3_tableob3.log
  log type:  text
 closed on:  23 Jun 2021, 11:42:23
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
